<?php
error_reporting(E_ALL);
//error_reporting(0);
if(!session_id()) session_start();
defined('INSTALL_PATH')
    || define('INSTALL_PATH', realpath(dirname(__FILE__)));
defined('SITE_PATH')
    || define('SITE_PATH', realpath(INSTALL_PATH . '/../'));
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>Cài đặt BKloud Portal</title>
	<link rel="stylesheet" href="css/setup.css" type="text/css" charset="utf-8" />
	<script language="javascript" src="js/jquery-1.6.2.min.js"></script>
	<script language="javascript" src="js/curvycorners.js"></script>
</head>

<body>
  <div id="wrapper">
    <div id="header">
    	<div id="text">
    	Cài đặt BKloud
        </div>
        <div id="icon">
    <img src="images/smallKloud.png" align="right"/></div>
    	</div>
    	
    <script>
    $(document).ready(function(){ 
        $('#content').css('min-height',function(){
           var main_height = $(window).height() - 200;
         return main_height+'px';
        });   
    });

    function addActive(classActive){
    	$(".list ul li").addClass(function(index, currentClass) {
			var addedClass;

			if ( currentClass === classActive ) {
			  addedClass = "active";
			}
		  
			return addedClass;
		  });
    }
    </script>
    
    <div id="content">
    <div id="left">
    
    	<div id= "title">
          <div align="left"><span>Quá trình</span></div>
    </div>
        
        <div class="list">
        	<ul>
          		<li class="check"><span>1. Kiểm tra</span></li>
          		<li class="connect"><span>2. Cơ sở dữ liệu</span></li>
          		<li class="account"><span>3. Cấu hình website</span></li>
          		<li class="config"><span>4. Cấu hình Nimbus</span></li>
          		<li class="finish" style="border:none;"><span>5. Hoàn thành</span></li>
        	</ul>
        </div>
    </div>
    
    <div id="right">
     <?php include 'modules/process_frame.php';?>
    </div>
 
   </div> 
    
    <div class="clear"></div>
    
    <div id="footer">
      <div id="copyright">
        Copyright &copy; 2011 High Performance Computing Center. <br />
        Hanoi University of Science and Technology.
      </div>
	  <div id="footerline"></div>
    </div>
	
</div>

</body>
</html>
